|
![](/i/fill.gif) |
"Slime" <fak### [at] email address> wrote in message
news:411dab30@news.povray.org...
> > #declare sph=sphere; //Abreviate sphere to sph
> > #declare boite=box; //Translate box to boite (french)
>
> Erm, this doesn't work. Were you saying it does or suggesting it as a
> feature?
You're quite right. I tried it, and to alias it, you'd have to write:
#macro sph() sphere #end
sph() { <sphere and texture options> }
And the parentheses would have to be included with every invocation, adding
two more characters and obfuscation to otherwise straight code. It would
hardly be a worthwhile "abbreviation"
Brian :-)
Post a reply to this message
|
![](/i/fill.gif) |